<include file="Public/header" />
<title>管理员列表</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 发票管理 <span class="c-gray en">&gt;</span> 发票设置 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">

	<div class="cl pd-5 bg-1 bk-gray mt-20"> 
		<form class="formleft" name="" id="" action="__URL__/bill/" method="get">
			<span class="select-box" style="width:150px">
				<select class="select" id="selval" name="selval">
					<option value="1">发票代码</option>
				</select>
			</span>
			<input class="input-text" style="width:200px" type="text" value="<{$_GET['keywords']}>" placeholder="输入查询关键词" name="keywords" datatype="*" nullmsg="请填写搜索词">
			<button type="submit" class="btn btn-success"><i class="icon-plus"></i> 查询</button>	  
			<a href="javascript:;" onclick="admin_open('添加发票','__URL__/add_bill/',0,'800','480')" class="btn btn-primary radius"><i class="Hui-iconfont"></i> 添加</a>
		</form>
		<span class="r">共有数据：<strong><{$count}></strong> 条</span> 
    </div>
	
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th scope="col" colspan="15">发票列表</th>
			</tr>
			<tr class="text-c">
				<th>序号</th>
				<th width="">发票代码</th>
				<th width="">税号</th>
				<th width="">发票台头</th>
				<th width="">总金额</th>
				<th width="">付款人(单位)</th>
				<th width="">收款人(单位)</th>
				<th width="">企业名称</th>
				<th width="">开票日期</th>
				<th width="">发票种类</th>
				<th width="">备注</th>
				<th width="">添加时间</th>
				<th width="">操作</th>
			</tr>
		</thead>
		<tbody>
			<volist name="list" id="vo">
			<tr class="text-c">
				<td><{$i}></td>
				<td><{$vo.no}></td>
				<td><{$vo.tax_no}></td>
				<td><{$vo.head_text}></td>
				<td><{$vo.count_price}></td>
				<td><{$vo.payer}></td>
				<td><{$vo.payee}></td>
				<td><{$vo.company_name}></td>
				<td><{$vo.create_bill_time|date="Y-m-d",###}></td>
				<td><{$vo.billcate_name}></td>
				<td><{$vo.mark}></td>
				<td><{$vo.add_time|date="Y-m-d",###}></td>
				<td>
				<a href="javascript:;" onclick="admin_open('编辑发票','__URL__/edit_bill/id/<{$vo.id}>','<{$vo.id}>','800','480')" class="">编辑</a>
				<if condition="$vo.bind_status eq 1">
				<a href="javascript:;" onclick="admin_open('绑定采购单','__URL__/bind_list/id/<{$vo.id}>','<{$vo.id}>','800','480')" class="">已绑定</a>
				<else />
				<a href="javascript:;" onclick="admin_open('绑定采购单','__URL__/bind_list/id/<{$vo.id}>','<{$vo.id}>','800','480')" class="">绑定采购单</a>
				</if>
				<a title="删除" href="javascript:;" onclick="admin_del('__URL__/del_bill/','<{$vo.id}>')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a>
				</td>
			</tr>
			</volist>
		</tbody>
	</table>
	<div class="pages mt" style="text-align:right"><{$page}></div>
</div>
 <include file="Public/footer" />
<include file="Public/footer_js" />
</body>
</html>